package com.cloudbroker.bcs.platform.dav.common.constant.type;

public enum IFSErrorEnum {
    SUCCESS("0", "成功"),
    ERROR("4", "访问失败"),
    LOGIN_WAY_NOT_MOBILE("1", "login_way错误"),
    AUTHMSG_BUSI_TYPE_ERROR("2", "不合法的验证码类型"),
    DATE_RANGE_ONLY_BE_NUMBER("3", "不合法的dateRange");
    
    private final String error_no;
    private final String error_info;
    private String toString;
    
    private IFSErrorEnum(String error_no, String error_info) {
        this.error_no = error_no;
        this.error_info = error_info;
    }
    
    public String getError_no() {
        return error_no;
    }
    
    public String getError_info() {
        return error_info;
    }
    
    @Override
    public String toString() {
        if (null == toString) {
            toString = new StringBuilder().append("IFSErrorEnum[").append(error_no).append(':').append(error_info)
                    .append(']').toString();
        }
        return toString;
    }
}
